<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>王者荣耀-top</title>
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/common.css">
  <style>
    .top {
      border: 1px solid #f5f5f5;
    }

    .top .area {
      display: flex;
      justify-content: space-between;
      height: 41px;
      line-height: 41px;
    }

    .top .left-area {
      display: flex;
    }

    .top .left-area .logo a {
      display: block;
      width: 150px;
      text-indent: -9999px;
      background: url(./img/logo.webp) center center no-repeat;
      background-size: 112px auto;
    } 

    .top .right-area { 
       display: flex; 
       align-items: center;
    }

    .top .right-area .item a {
      position: relative;
      display: block;
      font-size: 14px;
      color: #464646;
    }

     .top .right-area .item a.ranking {
        margin-left: 20px;
        padding-right: 30px;
    }

    .top .right-area .item a.ranking::after {
      content: "";
      position: absolute;
      width: 30px;
      height: 30px;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto 0;
      background: url(./img/top_sprite.webp) no-repeat 0 0;

      opacity: 0.2;
      transform: rotate(90deg);
    }

    .top .right-area .item a.growth {
      padding-left: 30px;
    }

    .top .right-area .item a .icon-grow {
      position: absolute;
      width: 30px;
      height: 30px;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto 0;
      background: url(./img/top_sprite.webp) no-repeat -30px 0;
    }
    
  </style>
</head>
<body>
  <div class="top">
      <div class="top_wrapper area">
        <div class="left-area">
          <div class="logo">
            <a href="#">腾讯游戏</a>
          </div>
          <div class="recommend">
            <img src="./img/recommend_img.jpeg" alt="">
          </div>
        </div>
        <ul class="right-area">
          <li class="item">
            <a class="growth" href="#">
              <i class="icon-grow"></i>
              成长守护平台
            </a>
          </li>
          <li class="item">
            <a class="ranking" href="#">腾讯游戏排行榜</a> 
          </li>
        </ul>
      </div>
  </div>
</body>
</html>